package com.puzzlebazar.client.puzzle.view;

public interface ToolbarContainer {

	/**
	 * Adds a toolbar to the toolbar container
	 * 
	 * @param toolbar The toolbar to add
	 */
	public void addToolbar(Toolbar toolbar);

	/**
	 * Removes a toolbar from the toolbar container
	 * 
	 * @param toolbar The toolbar to remove
	 */
	public void removeToolbar(Toolbar toolbar);

	/**
	 * Removes all toolbars from the toolbar container
	 */
	public void clearToolbars();

	/**
	 * Force all toolbars to be visible or invisible. Doesn't apply to toolbars
	 * added after this call
	 *
	 * @param visible True to set all toolbars visible, false to set them invisible
	 */
	public void setAllToolbarVisible( boolean visible );
}
